package com.cloudcc.mobile.entity.chat;


import java.io.Serializable;

import com.cloudcc.mobile.entity.EntityBase;
import com.lidroid.xutils.db.annotation.Column;
import com.lidroid.xutils.db.annotation.Foreign;
import com.lidroid.xutils.db.annotation.Table;

/**
 * 客户拜访草稿箱
 * @author Administrator
 *
 */
@Table(name = "DraftKhbf")
public class DraftKhbf extends EntityBase implements Serializable{
	@Column(column = "kehuName")
	private String kehuName;
	@Column(column = "kehuId")
	private String kehuId;
	@Column(column = "bfType")
	private String bfType;
	@Column(column = "bfTime")
	private String bfTime;
	@Column(column = "bfText")
	private String bfText;
	@Column(column = "bfwz")
	private String bfwz;
	@Column(column = "pznum")
	private int pznum;
	@Column(column = "pz")
	private String pz;
	
	
	@Foreign(column = "parentId", foreign = "id")
	public DraftBox parent;

	public DraftKhbf() {
		super();
	}

	public DraftKhbf(String kehuName, String kehuId, String bfType,
			String bfTime, String bfText, String bfwz, int pznum, String pz) {
		super();
		this.kehuName = kehuName;
		this.kehuId = kehuId;
		this.bfType = bfType;
		this.bfTime = bfTime;
		this.bfText = bfText;
		this.bfwz = bfwz;
		this.pznum = pznum;
		this.pz = pz;
	}

	public String getKehuName() {
		return kehuName;
	}

	public void setKehuName(String kehuName) {
		this.kehuName = kehuName;
	}

	public String getKehuId() {
		return kehuId;
	}

	public void setKehuId(String kehuId) {
		this.kehuId = kehuId;
	}

	public String getBfType() {
		return bfType;
	}

	public void setBfType(String bfType) {
		this.bfType = bfType;
	}

	public String getBfTime() {
		return bfTime;
	}

	public void setBfTime(String bfTime) {
		this.bfTime = bfTime;
	}

	public String getBfText() {
		return bfText;
	}

	public void setBfText(String bfText) {
		this.bfText = bfText;
	}

	public String getBfwz() {
		return bfwz;
	}

	public void setBfwz(String bfwz) {
		this.bfwz = bfwz;
	}

	public int getPznum() {
		return pznum;
	}

	public void setPznum(int pznum) {
		this.pznum = pznum;
	}

	public String getPz() {
		return pz;
	}

	public void setPz(String pz) {
		this.pz = pz;
	}

	public DraftBox getParent() {
		return parent;
	}

	public void setParent(DraftBox parent) {
		this.parent = parent;
	}

	
}
